FROM java:8-jre
MAINTAINER windMan <wen.chao@kjt.com>
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD ./target/webportal.jar /app/
CMD ["java", "-Duser.timezone=GMT+8", "-jar", "/app/webportal.jar"]

EXPOSE 8089